home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Programming / tek / task / timedelay.c < prev    next >
Encoding:
C/C++ Source or Header  |  2001-05-12  |  344 b   |  23 lines

  1.  
  2. #include "tek/exec.h"
  3. #include "tek/kn/exec.h"
  4.  
  5. /* 
  6. **    TEKlib
  7. **    (C) 2001 TEK neoscientists
  8. **    all rights reserved.
  9. **
  10. **    TVOID TTimeDelay(TAPTR task, TTIME *time)
  11. **
  12. **    delay. task must refer to the current context.
  13. **
  14. */
  15.  
  16. TVOID TTimeDelay(TAPTR task, TTIME *time)
  17. {
  18.     if (task && time)
  19.     {
  20.         kn_timedelay(&((TTASK *) task)->timer, time);
  21.     }
  22. }
  23.